Skip to main content

ToStringDictionaryMethods<TKey, TValue, TSerializer>

Assembly: ServiceStack.Text.dll
View Source
Declaration
public static class ToStringDictionaryMethods<TKey, TValue, TSerializer>
where TSerializer : ITypeSerializer

Methods

WriteIDictionary(TextWriter, Object, WriteObjectDelegate, WriteObjectDelegate)

View Source
Declaration
public static void WriteIDictionary(TextWriter writer, object oMap, WriteObjectDelegate writeKeyFn, WriteObjectDelegate writeValueFn)
Parameters
TypeName
System.IO.TextWriterwriter
System.ObjectoMap
ServiceStack.Text.Common.WriteObjectDelegatewriteKeyFn
ServiceStack.Text.Common.WriteObjectDelegatewriteValueFn

WriteGenericIDictionary(TextWriter, IDictionary<TKey, TValue>, WriteObjectDelegate, WriteObjectDelegate)

View Source
Declaration
public static void WriteGenericIDictionary(TextWriter writer, IDictionary<TKey, TValue> map, WriteObjectDelegate writeKeyFn, WriteObjectDelegate writeValueFn)
Parameters
TypeName
System.IO.TextWriterwriter
System.Collections.Generic.IDictionary<<TKey>,<TValue>>map
ServiceStack.Text.Common.WriteObjectDelegatewriteKeyFn
ServiceStack.Text.Common.WriteObjectDelegatewriteValueFn